.class Lcom/netease/newsreader/activity/DetailPushPage$32;
.super Ljava/lang/Object;
.source "DetailPushPage.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/DetailPushPage;->setListeners()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/DetailPushPage;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/DetailPushPage;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    .line 1284
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/DetailPushPage$32;)Lcom/netease/newsreader/activity/DetailPushPage;
    .locals 1
    .parameter

    .prologue
    .line 1284
    iget-object v0, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .parameter "v"

    .prologue
    const/4 v6, 0x0

    .line 1289
    const/4 v0, -0x1

    .line 1290
    .local v0, count:I
    const-string v2, ""

    .line 1291
    .local v2, voteNum:Ljava/lang/String;
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 1293
    :try_start_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    .line 1294
    const/4 v3, 0x2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    .line 1295
    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v3

    add-int/lit8 v0, v3, 0x1

    .line 1301
    :cond_0
    :goto_0
    const/4 v3, -0x1

    if-eq v0, v3, :cond_1

    .line 1302
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\u9876["

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1303
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    const-string v4, "v"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 1304
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$109(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    iget-object v4, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v4}, Lcom/netease/newsreader/activity/DetailPushPage;->access$113(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/view/animation/Animation;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->startAnimation(Landroid/view/animation/Animation;)V

    .line 1305
    new-instance v3, Lcom/netease/newsreader/activity/DetailPushPage$32$1;

    invoke-direct {v3, p0}, Lcom/netease/newsreader/activity/DetailPushPage$32$1;-><init>(Lcom/netease/newsreader/activity/DetailPushPage$32;)V

    .line 1310
    invoke-virtual {v3}, Lcom/netease/newsreader/activity/DetailPushPage$32$1;->start()V

    .line 1311
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$66(Lcom/netease/newsreader/activity/DetailPushPage;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 1316
    :goto_1
    return-void

    .line 1296
    :catch_0
    move-exception v1

    .line 1298
    .local v1, e:Ljava/lang/NumberFormatException;
    invoke-virtual {v1}, Ljava/lang/NumberFormatException;->printStackTrace()V

    goto :goto_0

    .line 1313
    .end local v1           #e:Ljava/lang/NumberFormatException;
    :cond_1
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$32;->this$0:Lcom/netease/newsreader/activity/DetailPushPage;

    const-string v4, "\u672a\u80fd\u6210\u529f\u6295\u7968"

    invoke-static {v3, v4, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v3

    invoke-virtual {v3}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method
